<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>APP原型演示</title>
  
  <!-- 引入样式文件 -->
  <link rel="stylesheet" href="styles/navigation.css">
  <link rel="stylesheet" href="styles/device-frame.css">
  <link rel="stylesheet" href="styles/components.css">
  
  <!-- 引入字体 -->
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
  
  <!-- 引入图标库 -->
  <script src="https://unpkg.com/feather-icons"></script>
</head>
<body>
  <!-- 左侧导航菜单 -->
  <nav class="prototype-nav">
    <div class="nav-header">
      <h3>APP原型导航</h3>
      <button class="nav-toggle" aria-label="收起导航">×</button>
    </div>
    <ul class="nav-menu">
      <li><a href="#login" data-page="login" class="nav-link active">登录页</a></li>
      <li><a href="#about" data-page="about" class="nav-link">关于我们</a></li>
    </ul>
  </nav>

  <!-- 主要内容区域 -->
  <main class="prototype-main">
    <!-- 设备边框容器 -->
    <div class="device-frame iphone-14">
      <div class="device-screen">
        <!-- 动态加载的页面内容 -->
        <div id="page-container" class="page-container">
          <!-- 页面内容将通过JavaScript动态加载 -->
        </div>
      </div>
    </div>
  </main>

  <!-- 导航展开按钮（移动端） -->
  <button class="nav-trigger" aria-label="展开导航">☰</button>
  
  <!-- 引入脚本文件 -->
  <script src="scripts/navigation.js"></script>
  <script src="scripts/device-frame.js"></script>
  
  <!-- 初始化图标 -->
  <script>
    document.addEventListener('DOMContentLoaded', () => {
      feather.replace();
    });
  </script>
</body>
</html> 